.class final Lnet/tsapps/topdeals/n;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field private synthetic a:Lnet/tsapps/topdeals/ab;

.field private final synthetic b:Lnet/tsapps/topdeals/objects/c;


# direct methods
.method constructor <init>(Lnet/tsapps/topdeals/ab;Lnet/tsapps/topdeals/objects/c;)V
    .locals 0

    iput-object p1, p0, Lnet/tsapps/topdeals/n;->a:Lnet/tsapps/topdeals/ab;

    iput-object p2, p0, Lnet/tsapps/topdeals/n;->b:Lnet/tsapps/topdeals/objects/c;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .locals 2

    iget-object v0, p0, Lnet/tsapps/topdeals/n;->a:Lnet/tsapps/topdeals/ab;

    iget-object v0, v0, Lnet/tsapps/topdeals/ab;->a:Lnet/tsapps/topdeals/DealListActivity;

    invoke-static {v0}, Lnet/tsapps/topdeals/DealListActivity;->b(Lnet/tsapps/topdeals/DealListActivity;)Lnet/tsapps/topdeals/h/a;

    move-result-object v0

    invoke-virtual {v0}, Lnet/tsapps/topdeals/h/a;->p()I

    move-result v0

    iget-object v1, p0, Lnet/tsapps/topdeals/n;->b:Lnet/tsapps/topdeals/objects/c;

    iget v1, v1, Lnet/tsapps/topdeals/objects/c;->a:I

    if-ge v0, v1, :cond_0

    iget-object v0, p0, Lnet/tsapps/topdeals/n;->a:Lnet/tsapps/topdeals/ab;

    iget-object v0, v0, Lnet/tsapps/topdeals/ab;->a:Lnet/tsapps/topdeals/DealListActivity;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Lnet/tsapps/topdeals/DealListActivity;->showDialog(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lnet/tsapps/topdeals/n;->a:Lnet/tsapps/topdeals/ab;

    iget-object v0, v0, Lnet/tsapps/topdeals/ab;->a:Lnet/tsapps/topdeals/DealListActivity;

    invoke-static {v0}, Lnet/tsapps/topdeals/DealListActivity;->c(Lnet/tsapps/topdeals/DealListActivity;)Lnet/tsapps/topdeals/objects/InitialResponse;

    move-result-object v0

    iget-object v1, p0, Lnet/tsapps/topdeals/n;->b:Lnet/tsapps/topdeals/objects/c;

    invoke-virtual {v0, v1}, Lnet/tsapps/topdeals/objects/InitialResponse;->a(Lnet/tsapps/topdeals/objects/c;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/n;->a:Lnet/tsapps/topdeals/ab;

    iget-object v0, v0, Lnet/tsapps/topdeals/ab;->a:Lnet/tsapps/topdeals/DealListActivity;

    invoke-static {v0}, Lnet/tsapps/topdeals/DealListActivity;->d(Lnet/tsapps/topdeals/DealListActivity;)Lnet/tsapps/topdeals/views/TdViewPager;

    move-result-object v0

    invoke-virtual {v0}, Lnet/tsapps/topdeals/views/TdViewPager;->a()V

    iget-object v0, p0, Lnet/tsapps/topdeals/n;->a:Lnet/tsapps/topdeals/ab;

    iget-object v0, v0, Lnet/tsapps/topdeals/ab;->a:Lnet/tsapps/topdeals/DealListActivity;

    invoke-static {v0}, Lnet/tsapps/topdeals/DealListActivity;->e(Lnet/tsapps/topdeals/DealListActivity;)V

    goto :goto_0
.end method
